package co.yixiang.modules.shop.entity;

import co.yixiang.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
* @author frq
* @date 2020-03-06
*/
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DictDetail对象", description = "字典详情表")
public class DictDetail extends BaseEntity {

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    /** 字典标签 */
    @ApiModelProperty(value = "字典标签")
    private String label;

    /** 字典值 */
    @ApiModelProperty(value = "字典值")
    private String value;

    /** 排序 */
    @ApiModelProperty(value = "排序")
    private String sort = "999";



    @ApiModelProperty(value = "排序")
    private Timestamp createTime;

}